package com.sleep.psy.external_server.business.main.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户二维码
 * </p>
 *
 * @author wenliguo
 * @since 2025-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MainUserCode implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("二维码名称")
    private String name;

    @ApiModelProperty("方案id")
    private Integer mainSchemeId;

    @ApiModelProperty("方案详情")
    private String schemeInfo;

    @ApiModelProperty("链接地址")
    private String url;

    @ApiModelProperty("二维码地址")
    private String codeUrl;

    @ApiModelProperty("状态：0：不可用；1：可用")
    private Integer status;

    @ApiModelProperty("有效期截止日")
    private String validEndTime;

    @ApiModelProperty("创建人id")
    private Long createById;

    @ApiModelProperty("创建人姓名")
    private String createByName;

    @ApiModelProperty("更新人id")
    private Long updateById;

    @ApiModelProperty("更新人姓名")
    private String updateByName;

    @ApiModelProperty("创建时间")
    private String createTime;

    @ApiModelProperty("更新时间")
    private String updateTime;


}
